import { initTRPC } from '@trpc/server';
import type { TRPCContext } from './context';

// 创建tRPC实例
export const t = initTRPC.context<TRPCContext>().create();

// 导出基础构建器
export const router = t.router;
export const publicProcedure = t.procedure;
